package com.schedule.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties{

    private String secretKey;

    private long ttlMills ;//秒

    private String tokenName ;//请求头

}
